home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / JAVA Utilities / JProxy 1.1.0 / proxyclient.jar / com / jproxy / proxy / proxy.properties < prev    next >
Encoding:
Text File  |  2003-04-29  |  12.0 KB  |  273 lines

  1. com.jproxy.proxy.version = 1.1.030424
  2. #
  3. # Client-Server read-only property.
  4. # JProxy Tunnel Version
  5.  
  6.  
  7. # com.jproxy.proxy.tunnel.url =
  8. #
  9. # Client Property.
  10. # Default - http://localhost/proxyservlet/servlet/proxyservlet
  11. # A tunneling URL. The property is used to construct complete URL to access servlet.
  12. # The property is default template for tunneling URL. During runtime JProxy constructs tunnel URL by merging fields from in following priority: Context.PROVIDER_URL("java.naming.provider.url"), com.jproxy.proxy.tunnel.url, ServletTunnel.DEFAULT_TUNNEL_URL.
  13. # So for instance: if you set just IP in your env.put("java.naming.provider.url", "10.10.10.10"); it will construct URL in following order:
  14. # It will check what fields missing in "java.naming.provider.url". Here it is protocol, port and path.
  15. # Then it will try to obtain missing fields from proxy.properties "com.jproxy.proxy.tunnel.url".
  16. # Then if still some fields are missing it takes them from ServletTunnel.DEFAULT_TUNNEL_URL = http://localhost/proxyservlet/servlet/proxyservlet.
  17. # So you may set "com.jproxy.proxy.tunnel.url" to "https://localhost" or even jast "http://".
  18. # Examples: http://myserver.com/proxyservlet/servlet/proxyservlet, https://myserver.com:8080/proxyservlet/servlet/proxyservlet, myserver.com:8080
  19.  
  20.  
  21. # com.jproxy.proxy.initial =
  22. #
  23. # Client Property.
  24. # Default value - System default
  25. # Naming Context Factory Class for EJB Server.
  26. # Usually you do not need to specify the property, because JProxy Server usually works in same JVM as Naming Service.
  27. # Default value will be taken form System properties Context.INITIAL_CONTEXT_FACTORY.
  28. # If JProxy Server and Application Server running on different machines the property has to be set.
  29. # Here is some known Naming Context Factory classes for different servers:
  30. # JBoss: org.jnp.interfaces.NamingContextFactory
  31. # BEA WebLogic: weblogic.jndi.WLInitialContextFactory
  32. # Orion: com.evermind.server.ApplicationClientInitialContextFactory, com.jproxy.proxy.providers.OrionNamingContextFactory
  33. # Sun Ref.Impl.Server: com.sun.jndi.rmi.registry.RegistryContextFactory
  34. # Sun JNDI CORBA COS Naming SPI: com.sun.jndi.cosnaming.CNCtxFactory
  35.  
  36. # com.jproxy.proxy.provider.url =
  37. #
  38. # Client Property.
  39. # Default value - System default
  40. # Naming Service URL for EJB Server
  41. # Usually you do not need to specify the property, because JProxy Server usually works on same host as Naming Service.
  42. # Here is some known URL patterns for different servers:
  43. # JBoss: localhost
  44. # BEA WebLogic: t3://localhost:7001
  45. # Orion: ormi://localhost
  46. # Sun Ref.Impl.Server: rmi://localhost:1099
  47.  
  48.  
  49. com.jproxy.proxy.max.failover.attempts = 3
  50. #
  51. # Client Property.
  52. # Default value - 3
  53. # Maximim number of failover invocation attepts
  54.  
  55.  
  56. # com.jproxy.proxy.socket.timeout = 0
  57. #
  58. # the property is available only for commercial release
  59. #
  60. # Client property.
  61. # Default value - 0
  62. # A socket timeout (milliseconds: 1/1000 sec). 0 - infinit
  63.  
  64.  
  65. com.jproxy.proxy.callback.pending.time = 60000
  66. #
  67. # Client property.
  68. # Default value - 60000 (60 sec)
  69. # The max pending time (milliseconds: 1/1000 sec) for client's polling.
  70. # The polling gets unblocked if there is a callback to the client.
  71.  
  72.  
  73. # com.jproxy.proxy.use.jproxy.ssl.socket.factory = false
  74. #
  75. # Client property.
  76. # Default = false
  77. # A flag enabling JProxy SSLProxySocketFactory.
  78. # The factory allows authentication with Proxy Servers and Timeouts for SSL.
  79.  
  80.  
  81. com.jproxy.proxy.network.performance.threshold = 1000000
  82. #
  83. # the property is available only for commercial release
  84. #
  85. # Client property.
  86. # Default value - 1000000
  87. # Network Performance Threshold (bytes per second).
  88. # JProxy Client measures network performance for each call.
  89. # If detected performance is higher than specified threshold then data compression is disabled.
  90. # A data compression is enabled otherwise.
  91. # Server always uses compression if client request uses compression.
  92. # To explicytly disable compression specify threshold = 0
  93. # To explicytly enable compression specify threshold equal high value: for instance 1000000000
  94. # The property com.jproxy.proxy.compression.enabled is not used any more.
  95.  
  96.  
  97. #com.jproxy.proxy.compression.enabled = true
  98. #
  99. # the property is available only for commercial release
  100. #
  101. # Depricated. See com.jproxy.proxy.network.perfromance.threshold
  102. # Client-Server property.
  103. # Default value - false
  104. # Flag enabling compression for data marshalling and unmarshalling
  105.  
  106.  
  107. # com.jproxy.proxy.compiler.class.path=.
  108. #
  109. # Default value - "."
  110. # Server property.
  111. # A classpath for compiler used by stubgen for compiling stubs
  112. # during dynamic stub generation (for JDKs earlier than 1.3)
  113. # The parameter does not have to be set if all necessary libraries placed
  114. # in directory specified in com.jproxy.proxy.lib.class.path parameter.
  115. # The parameter is used to enable JProxy Client for web browsers that do not have
  116. # Sun Java Plug-in 1.3 installed such as MS Internet Explorer that have its Microsoft JVM.
  117.  
  118.  
  119. # com.jproxy.proxy.compiler.options=
  120. #
  121. # Default value - ""
  122. # Server property.
  123. # An options for javac compiler used by stubgen for compiling stubs
  124. # during dynamic stub generation (for JDKs earlier than 1.3)
  125. # The parameter is used to enable JProxy Client for web browsers that do not have
  126. # Sun Java Plug-in 1.3 installed such as MS Internet Explorer that have its Microsoft JVM.
  127.  
  128.  
  129. com.jproxy.proxy.lib.class.path = /jboss-3.2.0/server/default/deploy/appletsms.war
  130. # JBoss2 com.jproxy.proxy.lib.class.path = /tomcat/webapps/appletsms
  131. #
  132. # Server property.
  133. # Default value - "."
  134. # A classpath for libraries for compiler used by stubgen for dynamic stub generation (for JDKs earlier than 1.3)
  135. # Current value - /tomcat/webapps/appletsms. The value set only to enable online examples of the site.
  136. # The parameter is used to enable JProxy Client for web browsers that do not have
  137. # Sun Java Plug-in 1.3 installed such as MS Internet Explorer that have its Microsoft JVM.
  138.  
  139.  
  140. com.jproxy.proxy.stubgen.class.path = /jboss-3.2.0/server/default/deploy/appletsms.war
  141. # JBoss2 com.jproxy.proxy.stubgen.class.path = /tomcat/webapps/appletsms
  142. #
  143. # Server property.
  144. # Default value - "/stubs"
  145. # A classpath for proxies generated by dynamic stub generator (for JDKs earlier than 1.3).
  146. # The stub generator uses the path to place generated stubs. The stubs must be accessible for JProxy Client during class downloading from code base specified in CODEBASE attribute in APPLET tag.
  147. # Current value - /tomcat/webapps/appletsms.
  148. # The value set only to enable online examples of the site.
  149. # The parameter is used to enable JProxy Client for web browsers that do not have
  150. # Sun Java Plug-in 1.3 installed such as MS Internet Explorer that have its Microsoft JVM.
  151.  
  152.  
  153. # com.jproxy.proxy.tunnel.class = com.jproxy.proxy.servlet.ServletTunnel
  154. #
  155. # Client-Server property.
  156. # Default value - com.jproxy.proxy.servlet.ServletTunnel
  157. # A class name of tunnel class for synchronous communication implementing com.jproxy.proxy.Tunnel.
  158. # The property may specify your own client-side implementation of tunneling.
  159.  
  160.  
  161. # com.jproxy.proxy.callback.tunnel.class = com.jproxy.proxy.callback.CallbackTunnel
  162. #
  163. # Client-Server property.
  164. # Default value - com.jproxy.proxy.callback.CallbackTunnel
  165. # A class name of tunnel class for synchronous communication implementing com.jproxy.proxy.Tunnel.
  166. # The parameter may specify your own client-side implementation of tunneling for asynchronous calls or callbacks.
  167.  
  168.  
  169. com.jproxy.proxy.log.level = DEBUG
  170. #
  171. # Client-Server property.
  172. # Default is INFORMATION
  173. # A verbosity level of loggin: one of folowing: NONE,FATAL,ERROR,WARNING,INFORMATION,DEBUG or abbreviation: N,F,E,W,I,D.
  174.  
  175.  
  176. # com.jproxy.proxy.log.class =
  177. #
  178. # Client-Server property.
  179. # Default value - System.out
  180. # A class used as output for log information. It inherited from PrintStream.
  181. # If the property not specifyed then System.out is used.
  182.  
  183.  
  184. com.jproxy.proxy.object.ttl = 300000
  185. #
  186. # Client-Server property.
  187. # Default is 60000 (1 minute)
  188. # object time-to-live (mills=1/1000 s) for remote objects on the tunnel server.
  189. # If remote object nether gets called during the time it will be automatically collected. 0 - disable
  190.  
  191.  
  192. # Deprecated property
  193. # com.jproxy.proxy.object.destroy.enabled=true
  194. #
  195. # Client-Server property.
  196. # Default value - false
  197. # A flag enabling automatic object destruction by JProxy Garbage Collector (GC).
  198. # If it is set to "false" then GC will still work to clean local resources but it will not destroy remote objects.
  199.  
  200.  
  201. com.jproxy.proxy.remote.classes = java.rmi.Remote,javax.jms.ConnectionFactory,javax.jms.Connection,javax.jms.Session,javax.jms.MessageProducer,javax.jms.MessageConsumer,javax.jms.Message,javax.jms.Destination,javax.naming.Context,org.omg.CORBA.Object,com.jproxy.proxy.callback.CallbackServer
  202. #
  203. # Client-Server property.
  204. # Default value -
  205. #  java.rmi.Remote,javax.jms.ConnectionFactory,javax.jms.Connection,
  206. #  javax.jms.Session,javax.jms.MessageProducer,javax.jms.MessageConsumer,
  207. #  javax.jms.Message,javax.jms.Destination,javax.naming.Context,
  208. #  org.omg.CORBA.Object,com.jproxy.proxy.callback.CallbackServer
  209. # A list of classes.
  210. # If result of remote call is instance of one of listed classes then JProxy creates remote stub for the result.
  211.  
  212.  
  213. # com.jproxy.proxy.datastack.enabled = false
  214. #
  215. # Client-Server property.
  216. # Default value - false
  217. # A flag enabling remote call optimization.
  218. # During this optimization, all calls that return void are sent as one request to the server.
  219.  
  220.  
  221. # com.jproxy.proxy.server.response.min = 1500
  222. #
  223. # Depricated.
  224. # Server property.
  225. # Default value - 0
  226. # A minimum length of server response.
  227.  
  228.  
  229. # com.jproxy.proxy.tunnel.invocation.interceptor = com.jproxy.proxy.providers.JaasInvocationInterceptor
  230. # com.jproxy.proxy.tunnel.invocation.interceptor = com.jproxy.proxy.providers.OrionInvocationInterceptor
  231. #
  232. # Client-Server property.
  233. # Default = null
  234. # InvocationInterceptor. If specifyed the interceptor is called on the JProxy server before each remote call.
  235. # For JAAS (JBoss) the property must be set to: com.jproxy.proxy.providers.JaasInvocationInterceptor.
  236. # Also for JBoss set property com.jproxy.proxy.jaas.configuration.name = client-login
  237. # For Orion Server for EJB security: com.jproxy.proxy.providers.OrionInvocationInterceptor
  238.  
  239.  
  240. # com.jproxy.proxy.jaas.configuration.name = client-login
  241. #
  242. # Server property.
  243. # Default = others
  244. # A JAAS Configuration name. Default value is "other". For JBoss must be "client-login".
  245.  
  246.  
  247. # com.jproxy.proxy.native.exceptions.enabled = false
  248. #
  249. # Client property.
  250. # Default value - false
  251. # If true - all server exceptions are passed to the client side as is.
  252. # In this case client must have classes representing serialized server exceptions.
  253. # If false - JProxy Server analizes the exception being thrown and acts as follows:
  254. # 1. If the class of the exception being thrown is the same as declared in the throw clause of an interface's method declaration
  255. #    this exception is passed to the client as is.
  256. # 2. If the class of the exception being thrown is inherited from a non-standard J2SE/J2EE exception class declared in
  257. #    the throw clause of an interface's method declaration, then this exception is passed to the client as is.
  258. # 3. If the class of the exception being thrown is inherited from a standard J2SE/J2EE exception class declared in
  259. #    the throw clause of an interface's method declaration, but the thrown exception class by itself is a non-standard J2SE/J2EE
  260. #     exception class, then the standard J2SE/J2EE exception declared in the throw clause of an interface's method
  261. #     declaration is passed to the client.
  262. # 4. If the class of the exception being thrown nor its parent class is declared in the throw clause of an interface's method
  263. #    declaration then RuntimeException with the thrown exception's message is passed to the client.
  264. #
  265. #  Standard J2SE/J2EE exceptions are those defined in packages that start with "java",
  266. #  "org.omg", "org.xml", "com.sun", "sun" and "org.w3c"
  267. #
  268. #  Non-standard J2SE/J2EE exceptions are exceptions that are not declared in the aforementioned packages.
  269.  
  270.  
  271.  
  272.  
  273.